package hibernate1;

public class Pay {
	private int mounthlyPay;
	private int yearPay;
	private int vocationWithPay;
	public int getMounthlyPay() {
		return mounthlyPay;
	}
	public void setMounthlyPay(int mounthlyPay) {
		this.mounthlyPay = mounthlyPay;
	}
	public int getYearPay() {
		return yearPay;
	}
	public void setYearPay(int yearPay) {
		this.yearPay = yearPay;
	}
	public int getVocationWithPay() {
		return vocationWithPay;
	}
	public void setVocationWithPay(int vocationWithPay) {
		this.vocationWithPay = vocationWithPay;
	}
	@Override
	public String toString() {
		return "Pay [mounthlyPay=" + mounthlyPay + ", yearPay=" + yearPay + ", vocationWithPay=" + vocationWithPay
				+ "]";
	}
}
